/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.Toto.question2.composition_model;



/**
 *
 * @author 210012285
 */
public class Toyota
{
    
    private int carReg;
    private int litresPerhour;
    private int litres;

    public int getLitres() {
        return litres;
    }

    public void setLitres(int litres) {
        this.litres = litres;
    }
    
    
    
    private BMW ip = new BMW();

    public BMW getIp() {
        return ip;
    }

    public void setIp(BMW ip) {
        this.ip = ip;
    }

    public int getCarReg() {
        return carReg;
    }

    public void setCarReg(int carReg) {
        this.carReg = carReg;
    }

    public int getLitresPerhour() {
        return litresPerhour;
    }

    public void setLitresPerhour(int litresPerhour) {
        this.litresPerhour = litresPerhour;
    }
    
    
    


 
}
